package cn.micro.eye.mapper;

import cn.micro.eye.entity.Member;
import cn.micro.eye.model.dto.MemberCategoryCount;
import cn.micro.eye.model.dto.MemberPageDTO;
import cn.micro.eye.model.vo.MemberPageVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 用户基础信息 Mapper 接口
 * </p>
 *
 * @author lry
 * @since 2018-09-11
 */
public interface IMemberMapper extends BaseMapper<Member> {

    List<MemberCategoryCount> countCategory();

    List<MemberPageVO> searchPage(MemberPageDTO memberPageDTO);

    Long countSearchPage(MemberPageDTO memberPageDTO);

    List<MemberPageVO> searchOrganizationPage(MemberPageDTO memberPageDTO);

    Long countSearchOrganizationPage(MemberPageDTO memberPageDTO);

}